<include file="./Tm/Dt/Top.html" />

<include file="./Tm/Dt/Left.html" />

<!--页面右侧内容块-->
<!--顶部信息栏-->
<div id="right">
    <include file="./Tm/Dt/Nav.html" />
    <!--主要内容块-->
    <div class="main">
        重消帐户：{$integral.integral5}
        <br>
        <div class="con-box">
            <div class="con-title">
                <div class="title-box clearfix">
                    <p>产品展示</p>
                    <p class="jiao"></p>
                </div>
            </div>


            <div class="panel-footer">
                <div class="container-fluid">
                    <div class="row">
                        <volist name="room" id="vo">
                        <div class="col-md-6 col-lg-3 ">
                            <ul class="sp">
                                <li class="spimg"><a href="/user/product_view.html?id={$vo.id}"><img src="{$vo.pic}" alt="" /></a></li>
                                <li>名称：{$vo.productname}</li>
                                <li>价格：{$vo.price}</li>
                                <li>
                                    <button type="button" class="btn btn-danger" onclick="doorder('{$vo.id}')">立即购买</button>
                                    <button type="button" class="btn btn-danger" onclick="docart('{$vo.id}');">加入购物车</button></li>
                            </ul>
                        </div>
                        </volist>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--手机导航-->

</div>
<include file="./Tm/Dt/Foot.html" />
<script>
    var doorder=function(id)
    {
        location.href='/user/product_order.html?id='+id;
    }
    var docart=function(id)
    {
        location.href='/user/docart.html?id='+id;
    }
</script>